exports.CategoryDownloadDetail_header = function(_args) {
	
	var aps='';
	if(Ti.Platform.osname== 'android') {
  		 Titanium.include('../globals.js');
  		 aps='../';
    }
    else {
   		  Titanium.include('globals.js');
    }
    
	var view = Ti.UI.createView({
	    backgroundImage: _args.backgroundImage,
	  
	   // backgroundColor:'white',
	    left: _args.left,
	    top: _args.top,
	    height:_args.height,
	    width: _args.width,//Globals.platformWidth,//'100%',
	    touchEnabled: _args.touchEnabled,//false
	});
	
	var view_Info = Ti.UI.createView({
	    backgroundColor:'transparent',
	    left: 0,
	    top: 0,
	    height:105,
	    width: _args.width,//Globals.platformWidth,//'100%',
	    touchEnabled: _args.touchEnabled,//false
	});
	
	
	
	
	var im = Titanium.UI.createView({
    
        backgroundImage:_args.backgroundImage_ImageTitle,
       	height:105,
        width:105,
        touchEnabled: true,
        top:0,
        left:0,
       
    });
	view_Info.add(im);
	
	
	
	
	var lbLectureName = Titanium.UI.createLabel({
       text:_args.lbLectureName,
       color:'black',
       left:107,
       top:10,
       font:{
			fontSize:Ti.App.Properties.getString('fontsizeLarge'),
			fontWeight:'bold'
		},
    });
    view_Info.add(lbLectureName)
    
	var lbPrice = Titanium.UI.createLabel({
       text:'Giá mua: '+_args.lbPrice+' VNĐ',
       color:'#1e6cc1',
       left:107,
       bottom:10,
       font:{
			fontSize:Ti.App.Properties.getString('fontsizeLarge'),
			fontWeight:'bold'
		},
    });
    view_Info.add(lbPrice)
	
	
	
	
	var view_button = Ti.UI.createView({
		backgroundImage:aps+Globals.backgroundImage_button,
	    left: 0,
	    top:view_Info.top+view_Info.height,
	    height:50,
	    width: _args.width,//Globals.platformWidth,//'100%',
	    touchEnabled: _args.touchEnabled,//false
	});
	
	
	var lbinfo = Titanium.UI.createLabel({
       text:'Danh sách các phần đã tải',
       color:'White',
       left:15,
      
       font:{
			fontSize:Ti.App.Properties.getString('fontsizeLarge'),
			fontWeight:'bold'
		},
    });
    view_button.add(lbinfo)

	
	
	
	
	view.add(view_button)
	view.add(view_Info);
	return view;
};